// Size = 50
ID_0 = hslider("window (samples)/Pitch Shifter",1e+03f,5e+01f,1e+04f,1.0f);
ID_1 = W0;
ID_2 = proj0(ID_1);
ID_3 = ID_2';
ID_4 = ID_3+1.0f;
ID_5 = hslider("shift (semitones) /Pitch Shifter",0.0f,-12.0f,12.0f,0.1f);
ID_6 = 0.083333336f*ID_5;
ID_7 = pow(2.0f, ID_6);
ID_8 = ID_4-ID_7;
ID_9 = ID_0+ID_8;
ID_10 = fmod(ID_9, ID_0);
ID_11 = letrec(W0 = (ID_10));
ID_12 = proj0(ID_11);
ID_13 = ID_12@0;
ID_14 = int(ID_13);
ID_15 = (ID_14&65535);
ID_16 = IN[0]@ID_15;
ID_17 = float(ID_14);
ID_18 = 1.0f-ID_13;
ID_19 = (ID_17+ID_18);
ID_20 = ID_16*ID_19;
ID_21 = (ID_13-ID_17);
ID_22 = ID_14+1;
ID_23 = (ID_22&65535);
ID_24 = IN[0]@ID_23;
ID_25 = ID_21*ID_24;
ID_26 = (ID_20+ID_25);
ID_27 = hslider("xfade (samples)/Pitch Shifter",1e+01f,1.0f,1e+04f,1.0f);
ID_28 = 1.0f/ID_27;
ID_29 = ID_28*ID_13;
ID_30 = min(ID_29, 1.0f);
ID_31 = ID_26*ID_30;
ID_32 = ID_0+ID_13;
ID_33 = int(ID_32);
ID_34 = (ID_33&65535);
ID_35 = IN[0]@ID_34;
ID_36 = float(ID_33);
ID_37 = ID_36+ID_18;
ID_38 = (ID_37-ID_0);
ID_39 = ID_35*ID_38;
ID_40 = ID_13-ID_36;
ID_41 = (ID_0+ID_40);
ID_42 = ID_33+1;
ID_43 = (ID_42&65535);
ID_44 = IN[0]@ID_43;
ID_45 = ID_41*ID_44;
ID_46 = (ID_39+ID_45);
ID_47 = (1.0f-ID_30);
ID_48 = ID_46*ID_47;
ID_49 = ID_31+ID_48;
SIG = (ID_49);
